﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace W.M.Materiel.Infrastruecure.DTO
{
    public class Details
    {
        /// <summary>
        /// 物料编码
        /// </summary>
        public string material_code { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public string? material_name { get; set; }

        /// <summary>
        /// 规格型号
        /// </summary>
        public string? specification_model { get; set; }

        /// <summary>
        /// 品牌
        /// </summary>
        public string? brand { get; set; }

        /// <summary>
        /// 单位ID
        /// </summary>
        public string? unit_id { get; set; }

        /// <summary>
        /// 物料类别
        /// </summary>
        public string? serial_number { get; set; }

        /// <summary>
        /// 物料属性
        /// </summary>
        public string? material_attribute { get; set; }

        /// <summary>
        /// 采购单价
        /// </summary>
        public decimal purchase_price { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public bool status { get; set; }

        /// <summary>
        /// 最小库存数
        /// </summary>
        public int minimum_inventory { get; set; }

        /// <summary>
        /// 最大库存数
        /// </summary>
        public int maximum_inventory { get; set; }

        /// <summary>
        /// 物料有效期
        /// </summary>
        public DateTime? material_life { get; set; }

        /// <summary>
        /// 报警天数
        /// </summary>
        public int alarm_days { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; }

        /// <summary>
        /// 辅助单位
        /// </summary>
        public bool auxiliary_unit { get; set; }

        /// <summary>
        /// 图片
        /// </summary>
        public string? picture { get; set; }

        /// <summary>
        /// 附件
        /// </summary>
        public string? attachments { get; set; }

        /// <summary>
        /// BOM编号
        /// </summary>
        public string bom_number { get; set; }

        /// <summary>
        /// BOM主题
        /// </summary>
        public string? bom_topic { get; set; }

        /// <summary>
        /// 版本号
        /// </summary>
        public string? version_number { get; set; }

        /// <summary>
        /// 成品编号
        /// </summary>
        public string? finished_number { get; set; }

        /// <summary>
        /// 成品名称
        /// </summary>
        public string? name_finished_product { get; set; }

        ///// <summary>
        ///// 规格型号
        ///// </summary>
        //public string? specification_and_model { get; set; }

        /// <summary>
        /// 成品类型
        /// </summary>
        public string? type_finished_product { get; set; }

        ///// <summary>
        ///// 单位
        ///// </summary>
        //public string? unit { get; set; }

        /// <summary>
        /// 默认BOM
        /// </summary>
        public bool default_bom { get; set; }

        /// <summary>
        /// 日产量
        /// </summary>
        public int daily_output { get; set; }




        /// <summary>
        /// 产品编号
        /// </summary>
        public string? product_number { get; set; }


        /// <summary>
        /// bom物品关系Id
        /// </summary>
        public string? bom_indicates_relationship_id { get; set; }


        /// <summary>
        /// 产品和物料编号
        /// </summary>
        public string? product_material_numbers { get; set; }

        /// <summary>
        /// 配件数量
        /// </summary>

        public int number_parts { get; set; }

        /// <summary>
        /// 损耗率
        /// </summary>

        public decimal attrition_rate { get; set; }

    }
}
